计算机与现代化 ›› 2010, Vol. 1 ›› Issue (5): 122-124.doi: 10.3969/j.issn.1006-2475.2010.05.035

• 网络与通信 • 上一篇    下一篇

VB6.0环境下三菱FX系列PLC与上位机的串行通信

鄢华林,邱月全   

  1. 江苏科技大学机械工程学院,江苏 镇江 212003
  • 收稿日期:2009-11-23 修回日期:1900-01-01 出版日期:2010-05-10 发布日期:2010-05-10

Serial Communication Between FX Series of Mitsubishi PLC and Host Computer Based on VB6.0

YAN Hua-lin, QIU Yue-quan   

  1. Mechanical Engineering Institute, Jiangsu University of Science and Technology, Zhenjiang 212003, China
  • Received:2009-11-23 Revised:1900-01-01 Online:2010-05-10 Published:2010-05-10

摘要: 利用上位机来监控可编程控制器的通讯技术是现代工业控制中的常用技术。以PC机为上位机,PLC为下位机,针对三菱FX系列PLC与上位机之间的通讯协议,给出了利用VB6.0实现上位机与PLC串行通信的详细设计流程。试验结果表明,这种串行通信方法,传输数据准确、简单、移植性强。

关键词: PLC, VB6.0, 串行通信, 通信协议

Abstract: Serial communication between computer and PLC is often used in modern industrial control. Computer is the host, PLC is the slavery, specific to the communication protocol between Mitsubishi FX PLC and the host computer, the paper gives programming and process of serial communication between PLC and host computer by VB6.0. The result of test indicates that this serial communication is accuracy for transferring data, simple and strong portability.

Key words: PLC, VB6.0, serial communication, communication protocol

中图分类号: